package es.manuel.maa.service;

import javax.mail.MessagingException;

import org.springframework.security.core.userdetails.UserDetailsService;

import es.manuel.maa.model.User;

public interface UserService extends UserDetailsService {

	boolean isUsernameAvailable(String username);
	
	void register(User user, String mailSubject, String mailBody) throws MessagingException;
	
}
